import {axiosD, axiosG, axiosK, axiosP} from "@/api";

/**
 * @description 邮箱
 * */
export const addEmailApi = data => axiosK("admin/email/addEmail", data); // 添加邮箱
export const delEmailApi = data => axiosD("admin/email/delEmail", data); // 删除邮箱
export const editEmailApi = data => axiosP("admin/email/editEmail", data); // 更新邮箱
export const listEmailApi = data => axiosG("admin/email/listEmail", data); // 获得邮箱列表
export const sendEmailApi = data => axiosP("admin/email/sendEmail", data); // 发送邮件
